package com.tedu.myblog.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import lombok.Data;
//评论实体类
@Data
public class Comment {
	private Long id;
    private String nickname;
    private String email;
    private String content;
    private String avatar;
    private Date createTime;
    private Long blogId;
    private Long parentCommentId;
    private boolean adminComment;
 
    //回复评论
    private List<Comment> replyComments = new ArrayList<>();
    private Comment parentComment;
    private String parentNickname;


}
